import { CHANGEMSGSTATE, DELMSG } from './actionTypes'

const change_msg_state = (index) => {
  return {
    type: CHANGEMSGSTATE,
    index
  }
}

const del_msg = (index) => {
  return {
    type: DELMSG,
    index
  }
}

export {
  change_msg_state,
  del_msg
}